package cn.school.workflow.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_workflow_quit_apply")
public class QuitApplyVO extends BaseVO {

    private static final long serialVersionUID = 3441308277096973052L;

    @ApiModelProperty(value = "申请单编号")
    private String applyNo;

    @ApiModelProperty(value = "流程ID")
    private String processId;

    @ApiModelProperty(value = "离职日期")
    private String quitDate;

    @ApiModelProperty(value = "离职原因")
    private String quitRemarks;

    @ApiModelProperty(value = "是否完成工作交接 0-否 1-是")
    private String isHandover;

    @ApiModelProperty(value = "是否归还设备 0-否 1-是")
    private String isReturnEquipment;

    @ApiModelProperty(value = "请假状态 0-草稿 1-待审批 2-审批被驳回 3-流程正常结束")
    private String status;

    @ApiModelProperty(value = "当前审批人")
    private String currApprovedBy;

    @ApiModelProperty(value = "附件文件原名称")
    private String fileResourceNames;

    @ApiModelProperty(value = "上传文件名称")
    private String fileList;

    @ApiModelProperty(value = "审批部门可选多个")
    private String approvedDept;

    @ApiModelProperty(value = "抄送人")
    private String ccUsers;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
